package facade.pattern.maker;

import facade.pattern.shape.Shape;
import facade.pattern.shape.impl.CircleShape;
import facade.pattern.shape.impl.RectangleShape;
import facade.pattern.shape.impl.SquareShape;

public class ShapeMaker {
    private Shape rectangle;

    private Shape square;

    private Shape circle;
    
    public ShapeMaker() {
        rectangle = new RectangleShape();
        square = new SquareShape();
        circle = new CircleShape();
    }
    
    public void drawRectangle() {
        rectangle.draw();
    }
    
    public void drawSquare() {
        square.draw();
    }
    
    public void drawCircle() {
        circle.draw();
    }
}
